﻿@using ApCMS.Common
@using ApCMS.Models
@{
    AppSetting appSet = new AppSetting();
    LayoutModels layoutModels = new LayoutModels();   
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="@(appSet.SeoDescription)" />
    <meta name="description" content="@(appSet.SeoDescription)" />
    <title>@(appSet.CompanyName)</title>
    <link href="@Url.Content("~/Themes/mobile/Content/jquery.mobile-1.2.1.min.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Themes/mobile/Content/js/jquery.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Themes/mobile/Content/js/jquery.mobile-1.2.1.min.js")" type="text/javascript"></script>
    <style type="text/css">
        .divContent
        {
            padding-left: 15px;
            padding-right: 15px;
        }
        .jobs
        {
            float: right;
            font-weight: normal;
            margin-right: 10px;
        }
    </style>
</head>
<body>
    <div data-role="page" class="type-home">
        <div data-role="header" data-role="header" data-theme="b">
            @if (IsSectionDefined("Header"))
            {                
                @RenderSection("Header")
            }
            else
            {
                <a href="@Url.Action("SetThemes", "Home", new { themes = "ymdz" })" data-icon="back" data-ajax="false">
                    标准版</a>
                <h1>
                    @ViewBag.Title</h1> 
                <div data-role="navbar">
                    <ul>
                        <li><a href="@Url.Action("Index", "Company")" data-theme="e">公司简介</a></li>
                        <li><a href="@Url.Action("Index", "News")" data-theme="e">新闻动态</a></li>
                        <li><a href="@Url.Action("Index", "Product")" data-theme="e">产品展示</a></li>
                        <li><a href="@Url.Action("Index", "Links")" data-theme="e">友情链接</a></li>
                        <li><a href="@Url.Action("Index", "Contact")" data-theme="e">联系我们</a></li>
                    </ul>
                </div>
                <!-- /navbar -->
            }
        </div>
        @RenderBody()
        <div data-role="footer" class="footer-docs" data-theme="c">
            <p class="jobs">
                <a href="@Url.Action("Index", "Job")">人才招聘</a></p>
            <p>
                @(appSet.CopyRight)
                @(appSet.ICP)</p>
        </div>
    </div>
</body>
</html>
